﻿using Sasc.PV.DAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sasc.PV.BLL
{
    public interface ICheJianFanGongGongXu : ICheJianGongXu
    {
        int GetCurrentFanGongVersion(ICheJianGongXuTarget target);
    }

    /// <summary>
    /// 车间返工工序接口
    /// 车间返工工序是一种特殊的工序
    /// 每个返工工序隶属于某一个车间
    /// </summary>
    /// <typeparam name="TCheJian">所属车间泛型参数</typeparam>
    /// <typeparam name="TGongXuTarget">车间工序操作对象</typeparam>
    public interface ICheJianFanGongGongXu<TCheJian, TGongXuTarget> : ICheJianGongXu<TCheJian, TGongXuTarget>, ICheJianFanGongGongXu
        where TCheJian : class, ICheJianManagement
        where TGongXuTarget : class, ICheJianGongXuTarget
    {
        int GetCurrentFanGongVersion(TGongXuTarget target);
    }
}
